<style>
    #storeDetail > table th, #storeDetail > table td {
        border: solid #ccc 1px;
        font-size: 12px;
        height: 10px;
    }
</style>
<form class="easyui-form" method="post" id="storeDetail" style="padding-left: 20px;">
    <table>
        <tr>
            <th style="width: 100px;">管理员手机号</th>
            <td colspan="3">
                <label>
                    <input id="mobilePhone" name="mobilePhone" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入管理员手机号',validType:'mobile'"/>
                    <br/>
                    <font color="red">*管理员默认帐号为该手机号，密码为该手机号+123123</font>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">管理员姓名</th>
            <td colspan="3">
                <label>
                    <input type="hidden" name="id">
                    <input type="hidden" name="userId">
                    <input type="hidden" name="serviceId">
                    <input id="realname" name="realname" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入管理员姓名',validType:'maxLength[20]'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">商户名称</th>
            <td colspan="3">
                <label>
                    <input id="name" name="name" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入商户名称',validType:'maxLength[100]'"/>

                </label>
            </td>
        </tr><tr>
            <th style="width: 100px;">上级机构</th>
            <td colspan="3">
                <label>
                    <input id="parentOrgId" name="parentOrgId" class="easyui-validatebox" style="width: 280px;"
                           data-options="prompt:'请选择上级机构'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">商户类型</th>
            <td colspan="3">
                <label>
                    <input id="type" name="type" class="easyui-validatebox" style="width: 280px;"
                           data-options="prompt:'请选择商户服务范围'"/>
                </label>
            </td>
        </tr><tr>
            <th style="width: 100px;">商户服务范围</th>
            <td colspan="3">
                <label>
                    <input id="sysDictionaryId" name="sysDictionaryId" class="easyui-validatebox" style="width: 280px;"
                           data-options="prompt:'请选择商户服务范围'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">营业执照</th>
            <td colspan="3">
                <label>
                    <input id="attachedFile" name="attachedFile"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">商户logo<br/><b style="color:red;font-size: 12px">建议：102*102</b></th>
            <td colspan="3">
                <label>
                    <input id="logoFile" name="logoFile"/>
                </label>
            </td>
        </tr>
        <tr id="home">
            <th style="width: 100px;">推荐到首页</th>
            <td>
                <label>
                    <input id="isHome1" name="isHome" type="radio" class="easyui-validatebox" value="0">否</input>
                </label>
                <label>
                    <input id="isHome2" name="isHome" type="radio" class="easyui-validatebox" value="1">是</input>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">地理位置</th>
            <td colspan="3">
                <label>
                    <input id="orgAddress" name="orgAddress" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:false,prompt:'请输入地理位置',validType:'maxLength[36]'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;"><img src="../static/images/position-active.png" alt="拾取" width="25" height="25" onclick="getLocation()">地理经度</th>
            <td>
                <input id="longitude" name="longitude" type="text" class="easyui-validatebox" style="width: 280px;"
                       data-options="required:true,prompt:'请输入地理位置',validType:'longitude'"/>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">地理纬度</th>
            <td>
                <input id="latitude" name="latitude" type="text" class="easyui-validatebox" style="width: 280px;"
                       data-options="required:true,prompt:'请输入地理位置',validType:'latitude'"/>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">法人</th>
            <td colspan="3">
                <label>
                    <input id="legalPerson" name="legalPerson" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入法人',validType:'maxLength[10]'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">法人电话</th>
            <td colspan="3">
                <label>
                    <input id="legalPhone" name="legalPhone" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入法人电话',validType:'telOrMobile'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">联系人</th>
            <td colspan="3">
                <label>
                    <input id="contactsPerson" name="contactsPerson" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入联系人',validType:'maxLength[10]'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">联系人电话</th>
            <td>
                <label>
                    <input id="contactsPhone" name="contactsPhone" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入联系人电话',validType:'telOrMobile'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">收款账户号</th>
            <td colspan="3">
                <label>
                    <input id="receivableAccount" name="receivableAccount" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入收款账户号',validType:'bankCard[20]'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">开户网点</th>
            <td colspan="3">
                <label>
                    <input id="netDot" name="netDot" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入开户网点',validType:'maxLength[36]'"/>
                </label>
            </td>
        </tr>
        <tr>
            <th style="width: 100px;">开户人姓名</th>
            <td colspan="3">
                <label>
                    <input id="accountHolder" name="accountHolder" class="easyui-validatebox" style="width: 280px;"
                           data-options="required:true,prompt:'请输入开户人姓名',validType:'maxLength[10]'"/>
                </label>
            </td>
        </tr>
    </table>
</form>
